x = input("请输入一个数据：")
x = int(x)

if x <3:
    print("小数据")
elif x<8:
    print("中数据")
else:
    print("大数据")

int1 = input("请输入一个整数: ")
int2 = int(int1)
if int2 % 2 == 0:
    print(int2,"是偶数")
else:
    print(int2,"是奇数")

def func(x):
    if len(x) >2:
        return x[:2]
    else:
        return x[-2:]
func([11,22,33,44])

x = int(input("请输入一个数字："))
while x >0:
    print(x)
    x -= 1

for j in [1,2,3,4]:
    print(j)

for x in ["*****","****","***","**","*"]:
    print(x)

